Added support for AMD module syntax