used string-to-js instead