Concept of a Slot Machine implemented using jquery