If you're putting `_urlInput.value` into `val`, you might as well reference it here too, or not store it at all.