fix typo in msl calc
corresponding change to js file