alternative implementation using phantom js
modified gitignore