An AD framework using the MEAN stack