Fixed bug in save password javascript webservices function