Fixing css and js references by adding base url.