Adjusted spec file to visit javascript page before running jquery tests