added basemesh.js