added baseurl javascript search