Parse shapeRecordEdge with asm.js