Chrome blocked cookies issue

Catches the exception which is thrown when cookies are blocked in Chrome. This prohibited the extension from work properly. Also made zotero.js JSLint friendlier.