Updated bookmarklet code