now validates perfectly in JSHint.