Removed duplicate js and added coupon back to transaction