fix #47 trim breaks ie8
Merge pull request #48 from darkpgx/b.trim

fix #47 trim breaks ie8