Update string.o.js

code cleanup