New js file for handling ajax logins and registrations.
Merge branch 'master' of https://github.com/mjimeyg/alternate-login