update javascript add2cart