Add buttons to editor toolbar for some common snippets of JavaScript code