Refactor JavaScript, styles and JSPs.