Phantomjs has some issues parsing in reverse order