fixing js file