A list of 31 refactoring patterns based on the '31 Days of Refactoring' book by Sean Chambers and Simone Chiaretta but translating all the code to Javascript