Converted to backbone and moved all code into javascript
Converted to backbone and moved all code into javascript