I thought JSHint catches these kind of things