fixed sws in browser
merge browser fix
fixed typo in broswer sws.js