fixing stupid mistake in example js