adding .js file