Reorganizing presentation a bit

to make the top part clearer - it now starts with more familiar jQuery
stuff before proceeding to JavaScript internals.