Fixing issues with Backbone JS