Move syntax script for another syntax mode
Improve script for other plugins
Add a popupscript tag that allows embedding script into a newly loaded page

This can only be done for direct popup pages, not links and it will run
the script in an inner scope.