Added a final purchase json, added function for form submission, submit button calls the method and no longer moves to another page, animation added on removal of items