Performed major javascript/jsp refactoring