Removed double insertion of site_root as inline script (header.tpl). People (and the javascript) would be able to get confused.