JS lib to ease type checking and