set socketio reference script in index file