add calculation/fix home.jsp

add calculation function
fix home.jsp script in calculation button issue