address requirejs q loading issue