Poczekaj 0,5 po funkcji JavaScript

statement1();
setTimeout(function() {
    statement2();
}, 500);
Rays