Move Admin patching function to document ready. Fix seemingly unrelated issue in admin example. See #88.

--HG--
branch : plugin-refactor