Creating js file