The calculator on js