add s2 js version