attempt to fix phantom js not able to close window (on travis-ci)