added string trim prototype for fallback on IE9 and below