- Add additional type-checking and clarify comments - Use ES6 conventions - Structure code for readability