make js file local