Changed return to accept the division js parameter.