exercise.js - clean code up on review