start implementing JavaScript calculator