Update functions/datetime/strtotime.js

strtotime is non functioning in IE8 because of the use of String.trim which isn't supported
Added trim to String prototype for browsers that don't support it.