allow for both types of item price entries in js validation