Two js examples