Created registration form; Wrapped jQuery events in 'if statements' to insure no errors are thrown if an element doesn't exist on a page