fixing fx ordering for AMD loading
Merge pull request #52 from ajkochanowicz/master

Fixing function ordering for AMD loading