commit for nodewebkit version
Changes for 3d to work with node-webkit