support amd js