Convert 8 spaces indent to 4 - update linter

also, updated the js checker