beginning of bookmarklet