reverted back to api
removed old js file