fix parameter handling.
make example copyable using link and js wizardry ;-)