Order non-class-based scripts first