add the price to js as well