add a phantomjs backend
fix an issue when displaying error
.gitignore