Following along the code in Manning's "Single Page Web Applications"...