Don't leak thothFieldsMappings in to global scope

#14
Merge pull request #17 from derekr/fix-global-scope

Don't leak thothFieldsMappings in to global scope