add a js file for web ui operate