updated javascript display cart