As soon as possible javascript loader