Fix quotes and equals.
Put some muscle into JSHint.
Better JSHinting.

This makes line numbers make sense in most cases.
Typo in a var. Fix bug, fix JSHint.