Server side Backbone code