Lots of javascript refactoring