Aaand Bootstrapped the form on the registration page.
Login js function is now accessible from registration page.