fwiw, I'd personally prefer early returns in JS, if you an remove the else by using a `return` then generally just do that. have changed in local version I'm about to push.