Create updateJs.js

js file for update.php