fixed password javascript error message