Better version rules for mocha-phantomjs