added exports to vm (node 0.8.x)