Fixed javascript merge load bug #7394