Add a params.js that has the right relative paths when served by switch.php.