urlplugin: fix regex
js: allow plugins to declare themselves as exclusive handlers