Update string.js

Missing semicolon