Expose fields to JS
Fix a compilation error in the README example.
Reflect changes in README.md file