Working on javascript methods and classes

This pull request is about learning javascript and backbone methods both at a time.