error in ms.js