added js to get item price and time