better comment in the js examples