fix bookmarklet on firefox