Backbone layout redesign

Rewrote JS code to use requirejs, Backbone, and Marionette