Refactoring JavaScript | Evan Burchard