IE < 9 does not support calling substr() with negative values, this makes the functions produced by this package unusable in older versions of IE.
See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr#Polyfill