The code from book: Supercharged JavaScript Graphics