Fixed issue in commonLoader.js