some changes to bookmarklet