Changed method to use hashtable instead of js object
Merge pull request #6 from dtaskoff/hashing

Changed method to use hashtable instead of js object