Move javascript back because it broke imports, change to import_impl to fix imports