Update s2.js