updated bookmarklet and compacted script