added javascript for cart appearance