phantomjs debugging for review

**Do not merge till it's reviewed**