Added chop_string.js