On browser side, normalize component paths to .js