Fixed #1615 Modify build.xml for WebGL

Modify build.xml for WebGL