WIP: Combined Login/Registration: Set up basic enrollment infrastructure.

Total nitpicking but it's best practice in JavaScript to be consistent with quotations marks (between double and single). Because the file was written with single quotes it would be better to keep using them. Also, JSHint throws an error if there are mixed quotes.