Moved require websockets js to application.js