fixes product_customizations_match.  fixes javascript for amount times constant calculator
reflects the changes present in spree pull request