Add timeout, later maybe add the timeout into the phantomjs-script