updated IMAT JavaScript API documentation