fixed issue ' no define call for main.js '