Added example snippets for Vertex.js.