making builder script more async due to js copy issues