Changes in server side script and js file