Add (o) snippet for javascript