Added plain javascript port and some more examples