Updated README
Added an HTML test page and made script more solid (error proof)
Small refactoring
Updated README
Refactored and enlightened script
Updated README with a note about the array order
Updated script weight in README
Merge remote-tracking branch 'origin/master' into gh-pages