Here is a sample app using backbone marionette javascript