Plugin inappbrowser using the execute script function

Hey, so I have been using the in-app browser to mimic our site as an app for a while now and I use executeScript to talk to our website to pass information between the two. Recently we were fixing up the security on the site to stop cross-origin attacks by preventing inline and eval however it seems that executeScript is using eval to function. Is there a way to get around this, so I can use executeScript even if eval is turned off on the stie?