A working version of the code

Since Live was depricated you need to link to go through the $(document) object or this event will never fire.

Example: http://jsfiddle.net/digiguru/qR9y7/3/
Merge pull request #137 from digiguru/master

Pageinit example code that works