IE11 - Exception thrown in IE: 'ClientID' required as first parameter #102

Additionally trimming the result of the function as required by my IE