Javascript port of Adapt AI framework into a Common.JS module