Basic example. HTML5 Book.
Optimized code for basic-example.js