`function MainController(){` --> `var MainController = function() {`