Fixed minor issue with the jasmine test not functioning properly. Added PhantomJS.