integrate dosage.js into kinetics