Remove sinon from node modules
Use map function