Adjust field names in JS; fix typod field
Merge pull request #22 from cmc333333/js-tweaks

Adjust field names in JS; fix typod field