Accurate JS order