no vertex in javascript