Fixed URL slugging, fixed registration page javascript