Cleaning up refactor.
Refactoring MathUtils.
Adding jshint rc.