Added a pure JS implementation of String.prototype.trim for browsers that don't have the method.
Added a pure JS implementation of String.prototype.trim for browsers that don't have the method.

heropunch/htmlbuilder,xj9/htmlbuilder