HTML5 application architecture using Backbone.js