seprate m3958mojits as npm module