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.
Merge pull request #5 from GimliLongBow/master

Fixing tokenizer.js for old IE browsers.