Making #486 more in line with the style of the rest of the codebase

Actual style guidelines coming soon!
Fix issue #491

contents of Maybe were not converted to JS on export