Minor refactoring of javascript
Minor refactoring of javascript

Code4SA/medicine-price-registry,Code4SA/medicine-price-registry,schlos/medicine-price-registry,Code4SA/medicine-price-registry,schlos/medicine-price-registry,Code4SA/medicine-price-registry,schlos/medicine-price-registry,schlos/medicine-price-registry