kevoree-node-javascript: fixing small issues in AdaptationEngine