Lets write backbone.js from scratch