improve suites api and use phantomjs