Added preliminary eslint rules
partial eslint fixes