design smartcart using ajax