`String.prototype.trim` is not in all the browsers we need to support in dojo core. use the `trim` method from the dojo/string module