In section http://web2py.com/books/default/chapter/29/10#JSONRPC-and-Pyjamas
1. Pyjamas is now known as PyJS, even though the libraries are still called pyjamas 2. import pyjamas.ui.KeyboardListener should read import pyjamas.ui.KeyboardListener as KeyboardListener to work properly 3. src="{{=URL('static','output/*pygwt.js*')}}"> should be *bootstrap.js*instead of *pygwt.js*