Edit js file