Zotero script fix

Fixed a bug that caused the script to look up bibliography from Zotero to not work on Safari.