Updated js examples