converted to a bacbone.js application