Fix for issue #3 added conversion from UTF-16 string to UTF-8 array.

Hi, we came across Issue #3 which has been reported some time ago. Here is fix where javascript internal UTF-16 string format is converted to UTF-8 which is usually used in QR codes (e.g. android, ios etc. readers).