Added resourceUrl to autocomplete