Add AJAX cart and fix problem with two books being added when image clicked