refs #1 - Stub string.trim for old browsers