Add javascript example