Binky-compatible server-side native toolbar button handling

Rewritten according to https://www.dokuwiki.org/devel:toolbar
Fixes:
* Toolbar button not shown
* Uncaught ReferenceError: jsEscape is not defined