Make Page Navigation List Widget Work in Editor for New Pages

Sometimes jQuery cached data attributes too eagerly causing the page
id read from the page element to be undefined. This lead to broken
highlighting of current page in editor. Read attribute directly
instead.
Merge pull request #200 from tf/page-navigation-list-fix

Make Page Navigation List Widget Work in Editor for New Pages