Fixing tokenizer.js for old IE browsers.

The JS .map function is not available on IE8 and below so I reworked that section to check for .map and fallback if not available.

Thanks for creating this polyfill!