Fix js example