corrected closure and deleted socketio,js version 1.0