added ws as dependency in package.json