I wish the book covered such things as
types of variables in js,
the concept of the prototype,
working with the DOM
And smaller examples on ajax, which is the listing of server-side code on ten pages.