working reset_password js