diff --git a/modules/windowPerformance/windowPerformance.js b/modules/windowPerformance/windowPerformance.js
index <HASH>..<HASH> 100644
--- a/modules/windowPerformance/windowPerformance.js
+++ b/modules/windowPerformance/windowPerformance.js
@@ -141,7 +141,7 @@ exports.module = function(phantomas) {
 		phantomas.log('Performance timing: backend vs frontend time - %d% / %d%', backendTimePercentage, 100 - backendTimePercentage);
 
 		// try to take performance metrics from PerformanceTiming (issue #477)
-		if (!window.performance || ! (window.performance.timing instanceof PerformanceTiming) ) {
+		if (!window.performance || !(window.performance.timing instanceof PerformanceTiming)) {
 			phantomas.log('performanceTiming: PerformanceTiming API not available!');
 			return;
 		}
diff --git a/test/integration-test.js b/test/integration-test.js
index <HASH>..<HASH> 100644
--- a/test/integration-test.js
+++ b/test/integration-test.js
@@ -53,8 +53,7 @@ spec.forEach(function(test) {
 				if (test.exitCode) {
 					assert.ok(err instanceof Error);
 					assert.strictEqual(err.message, test.exitCode.toString(), 'Exit code matches the expected value');
-				}
-				else {
+				} else {
 					assert.equal(err, null, 'Exit code matches the expected value');
 				}
 			},
windowPerformance: beautify