trim method of string is not supported in IE
add the config file for thin server