[CB-4905] CordovaJS on Windows8 has memoryleak on exec.js

Please review
This needs to be merge into master and 3.1.x