api_generator: js: add js entry point registration