There shouldn't be a need to convert to Cstrings here as I believe its interfacing with java strings at some point - ExecuteJavaScript should probably be MCStringREf'd