Fixed a lot of jslint errors.

Fixes #1831
diff --git a/test/simple/test-net-create-connection.js b/test/simple/test-net-create-connection.js
index 1d6cbd5..c21be15 100644
--- a/test/simple/test-net-create-connection.js
+++ b/test/simple/test-net-create-connection.js
@@ -44,7 +44,7 @@
   net.createConnection(tcpPort, 'localhost', cb);
 });
 
-process.on('exit', function () {
+process.on('exit', function() {
   assert.equal(clientConnected, 4);
 });