fix bug that causes WS to fail due to npm version change. FML!