Added javascript event binding for updating price.