debug substring1.js