socket wrapper added
added jshint