Reformat whitespace in controller.js to make it easier to add new views