refactor: simplify trim fn now that IE9 has String#trim