Fixed zotero script to work on Chrome, Firefox, and Safari.