fix Q.js loader bug