Cosmetic fixes

The file would benefit from being run through JSHint and [JSCS](https://github.com/jscs-dev/node-jscs). It would help find and fix many examples of [redeclared variables](https://github.com/dandv/tracker/compare/webix-hub:master...dandv:cosmetic-fixes?expand=1#diff-1797303718e5f97ff1901c3f03f28b06L28385), inconsistent whitespace etc.

Also, it would help to use a spell checker - [example 1](https://github.com/dandv/tracker/compare/webix-hub:master...dandv:cosmetic-fixes?expand=1#diff-1797303718e5f97ff1901c3f03f28b06L10114).

[WebStorm is free for open-source projects](https://www.jetbrains.com/webstorm/buy/choose_edition.jsp?license=OPEN_SOURCE) and supports JSHint, JSCS and spell checking.