set calculation mode to default when JS is not usable