Refactor the code, add backbonejs as javascript framework, translate all code to english.