A JavaScript implementation of the Magister 6 API.