[FIX] amd to commonJS style