added baseurl to js file