added basic str.js