updated switch module with marionette.js