Changed the default value of removeScriptFromUrl to false

This is a much more sensible default, as highlighted by the fact that it
was needed for the testsuite. This is now applied even without a base url.