* Expose constraints attribute in UI

Linked to issue #124 
`trim` is an extension to Underscore. Since we target IE9+, it's safe to use the native [String.prototoype.trim](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/Trim):

    return value.trim();