convert to use PhET string.js plugin