updated home.js

Removed the socket rules