bmiCalculate method added to client side