VendingMachine Sample with jQuery