serviceworker: fix errors, indentation fix.