Registration javascript. Waiting on Parse credentials