added javascript example to repo (PNG)