Fixed error caused by change in jQM 1.3.0

Fixed an error caused by jQM changing the data attribute name for page
data.  Changed to make use of 'self' more consistent.  (There are also
a few whitespace changes caused by my editor trimming trailing white
space.)