Fixed mixed tabs and spaces
JsHint fixes
Merge branch 'TT5' of https://github.com/invertedtomato/ChERP.git