working js to select numbers_front, back and both for rev prods