Made recursive func for loading JS files during dev.