adjust js imports so they can be overridden in main app