diff --git a/lib/assets/javascripts/jasmine-runner.js b/lib/assets/javascripts/jasmine-runner.js
index <HASH>..<HASH> 100644
--- a/lib/assets/javascripts/jasmine-runner.js
+++ b/lib/assets/javascripts/jasmine-runner.js
@@ -90,6 +90,10 @@
 
   var address = args[1];
   console.log('Running: ' + address);
+  if(phantom.version.major===2){
+	  // PhantomJS 2 workaround
+    address+='\n';
+  }
   page.open(address, function(status) {
     if (status === "success") {
       // PhantomJS 2 has a memory consumption problem. This works around it.
phantom2 needs newline after address