adding base url to js config