Where to place JS code

I simply placed the regular user registration form in a different page.