Refactor viewlet so that the script is accessible via a method on the viewlet instead of being rendered in the viewlet template directly.  This saves a great deal of hassle with trying to work around characters that aren't legal in zpt.

Also, insert links to individual bibliography items inline in list references