managed to inject JavaScript when using MarkdownPad github flavoured mode (offline)