Fix for bookmarklet