Update index.js

Fixed websocket maximum request length.