Adding code for gh-1184
Simplifying the example
removing all this unneeded jquery stuff
Removing more junk not related to the example
Pare back to essentials