Better JS for selecting prices. Should work with prices in any order, and with multiple prices of the same value. See #244