quantity updating with ajax and dom manipulation