javascript library designed to work with gladd