js examples