Few fixes

1) Wrong variable used for exclusion of cyrilic words
2) Added ommited ```typeof``` checks for two function calls
Merge pull request #1 from chivitli/patch-1

Couple of fixes