We are sorry that you have needed to do the WIRIS integration for TinyMCE 4.x yourself, our latest beta release already supports TinyMCE 4.x. It is available at http://www.wiris.com/plugins/download.beta.
Unfortunately, there is a bug using the inline method. We are currently working on it.
Edit: Our latest version available at the link above now supports TinyMCE inline method.