Code written while learning marionette js from this awesome series http://www.backbonerails.com/series/engineering_single_page_apps