updated to spec, using hosted libsw.js now