JavaScript library for ODRL / RightsML policies