Removed all static pages & converted ui.js to a controller