Add AMD support when define and define.amd detected
comments. style.