fix base path for javascripts and stylesheets