Fixed the js method to collapse/expand the price table