Changed emptyCart method.
Empty cart functionality implemented in AJAX.
JS script for emptying cart added to view.