added javascript example grammar