singup javascript and lost password