[BugFix] Fix load JavaScript slow bug.