Linted codebase; fixed strict mode violations