Improve the js file.