SIGN IN SIGN UP

Move login JS to a separate file

Mostly so the base URL resolution code can be shared.
A
Asher committed
751a5ea3ad6bec3e32201a37cfccdc0c2f31f462
Parent: de568d4