adding base_url for js files