Die on failure in renderpage phantomjs script (throw doesn't cut it)