Turned the script reference into clickable and dragable links
The HTML code generated wasn't proper XML and failed on XHTML devices (epub).