RefactorU Week2 exercise on catching JavaScript bugs