After this line, add some code which attempts to retrieve the toolbar "show script" button, and if it doesn't exist, create it:

```
var $showScriptButton = $('#ambrose-view-script-show');
if ($showScriptButton.size() < 1) {
  // create and inject script button
}
```