And remove the now unneeded NAMESPACE variable
In addition to using const and let, this also upgrades our linter config and removes lint (mostly whitespace).