js - scripts order fixed (strange issue)