add button functionality to inserted bookmarklet