Fix spec utils/popup when run through phantomjs, #123