Cosmetics: convert spaces to tabs for consistency
JSHint: Add missing semicolon
update for 198c02af5 and 8e30c36df
JSHint: Always use curly brackets for if-then-else