added ajax to display consumption