Add bookmarklet-ready code