Fix spec: phantomjs can't handle click event