Added UTF8 encoding detection
Addded samples to the README file
Added to NPM