fixed broken div tag
Cleaned up a bunch of html and a little JS... still in progress.
Cleaned up the rest of the html and js. controllers are now minimal,
except register which is still a bloated mess.