migrate to backbone.js 1.0
Refactoring javascript