Remove the script reference for phonegap, added change password function and changed the url for  socket io to location.host

The script reference for socket io in html files are not changed