Got js password working. Passwing by reference error still