changed preload logic, now js loads images with [preload] attr first, and continues to load other images after [preload]s completed