phantomjs settimeout execution order fix