adding js examples