Resolve JSHint Errors