add support for ie8

IE8 doen't support the map function, so using a for
to iterate on the characters allows to use barcoder.js
on IE8.
Merge pull request #3 from agallou/ie8

add support for ie8