[WIN32]Fixing compilation errors for TestJavascript and WatermelonWithMe.
Merge pull request #2181 from dumganhar/master

[WIN32]Fixing compilation errors for TestJavascript and WatermelonWithMe.