added backbone.js related helpers

Added some helpers.