templates and purchase page js

can add and remove items from the purchase page