Update bookmarklet.js

Fix for Firefox issues