fixed for a bug while pre-load amd js files in include.js