Examples from Professional JavaScript for Web Developers, 2nd Edition