1. Cannot call method 'replace' of undefined backbone.js
template: _.template($('#tmpl_sourcelist').html()),
instead with
window.SourceListView = Backbone.View.extend({ tagName:"li", initialize:function () { this.template = _.template($('#tmpl_sourcelist').html()); //...

http://stackoverflow.com/questions/14826149/uncaught-typeerror-cannot-call-method-replace-of-undefined-backbone-js


2. Cannot read property 'bind' of undefined
 _.bindAll(this, 'insideMenuHandler', 'outsideMenuHandler');

make sure all function names are existed.

http://stackoverflow.com/questions/15428741/underscores-bindall-cannot-read-property-bind-of-undefined
09-24 04:17