[IC] repaired js loader logic from interfering with other loaders