Cross-domain compatible application template library based on Backbone.js