creating js file