Remove manual table resets in tests
Bug #108 fix: Wrong behavior with latin characters

Use of localeCompare and toLocaleLowerCase functions based on browser
definition.
Update minified js to use localcompare