Use Phantomjs instead of firefox... expect this will help TeamCity build.