Validate JavaScript with JSHint