Revert "Install phantomjs when testing with master"

This reverts commit 12ea16de34c314f86b8c45baaec4401d3d3412b9.