using knockoutjs for examples, it gives more readable code than jquery