THRIFT-3627 fix missing basic code style consistency of JavaScript.
Client: js

This closes #858
This closes #1243
diff --git a/lib/js/test/test-nojq.js b/lib/js/test/test-nojq.js
index 19f9e61..c4f3cf7 100644
--- a/lib/js/test/test-nojq.js
+++ b/lib/js/test/test-nojq.js
@@ -17,7 +17,7 @@
  * under the License.
  */
  /* jshint -W100 */
- 
+
 /*
  * JavaScript test suite for ThriftTest.thrift. These tests
  * will run only with normal "-gen js" Apache Thrift interfaces.
@@ -25,7 +25,7 @@
  *      $ thrift -gen js ThriftTest.thrift
  *
  * See also:
- * ++ test.js for generic tests  
+ * ++ test.js for generic tests
  * ++ test-jq.js for "-gen js:jquery" only tests
  */
 
@@ -33,16 +33,16 @@
 //////////////////////////////////
 //Async exception tests
 
-module("NojQ Async");
+module('NojQ Async');
 
-  test("Xception", function() {
-    expect( 2 );
+  test('Xception', function() {
+    expect(2);
 
     QUnit.stop();
 
-    client.testException("Xception", function(result) {
+    client.testException('Xception', function(result) {
       equal(result.errorCode, 1001);
-      equal(result.message, "Xception");
+      equal(result.message, 'Xception');
       QUnit.start();
     });
   });