add a js file operation