I am creating my first simple app. So far i cannot get my button to go to next scene when it is clicked. i have button defined in main-scene.html and am using the below to call it im my .jsjsjs $file$:

function MainAssistant(argFromPusher) {
}

MainAssistant.prototype = {
setup: function() {
Ares.setupSceneAssistant(this);
Mojo.Event.listen(s("mybutton"), "click", this.nextScene.bindAsEventListener(this));
},

cleanup: function(event) {
Ares.cleanupSceneAssistant(this);
}
nextScene = function(event) {
Mojo.Controller.StageController.pushScene("mile");
}
};

It seems as though the nextScene function breaks my app, as for I am not able to see even the main scene once i run it. Any suggestions?????