You need a semicolon after `return URL_REGEXP.test(val)`