Refactor client-side JS to use `const` & `let` instead of `var`
Compare changes
Created by: henrikvtcodes
var
can cause bugs due to its implementation details: https://stackoverflow.com/questions/762011/what-is-the-difference-between-let-and-var
const & let are standard practice