add package.json and .gitignore
change the dictinary files encoding to utf8
change the identation of typo.js with spaces
remove the useless chrome platform checking code
make the typo.js export object