changed to .js file