move amd module loading def to grunt build