update:.js file read/save