Create majora.js with the NFA class