Create vector2d.js