Fixed JS error on forgot password page