Update javascript bookmarklet code