BUGFIX: mixed tabs and spaces and missing semicolons were disturbing jslint.