Basket with Jquery and OOP