added baseurl reference in js