JSHint messages fixed