Code written while reading the book "Secrets of the JavaScript Ninja"