marionette function seperate to mvc design pattern