JSLint-ing & fixes for the errors produced that way.
whitespace police raid following JSHint yakking about mixed tabs and spaces