chore: update views file and index.js

index.js:
Remove implement socket.io, log the warning instead

Layouts:
Add JS for demo views.