Minor changes for JSHint