Fix the method that checks whether jasmine server is running

Fixes #192