finished bookmarklet.js script
finished the bookmarklet implementation