add javascript price recalculation