Fix missing conversion of Elm strings to JS

toJS would not convert strings and return null instead
related to issue #432