https://bugs.winehq.org/show_bug.cgi?id=40561
--- Comment #1 from godevilove godevilove@ya.ru --- Why I think that it is Scripts plugin's issue and not ToolBar plugin's is because there is another way to call a script: using Hotkeys plugin - I've tried to call scripts using it and it's all the same.
As for 'TextMarker.js' - that script was chosen just as an example, the bug is not limited down to that particular script, other scripts also don't work.