ajax updating of costs when quantity/times change