Lint with JSHint, refactoring, and hyperspace!