Add jquery functions to display calculations