[#229] Refactor codebase to comply with JSHint
Created by: elbenfreund
In this first itteration we refactor just the worst offenders. Just enough to pass JSHint
, dealing with the lowest hanging fruits.
Future itterations will have to fix indentation and actual code layout issues.
Closes #229 (closed)