karmajs compatiable AMD definition