- update javascript for Ajax Request