Modifications for bookmarklet.