stopped the double-firing of Dom content loaded