Fix browser compatibility problems

This updates the example to support IE < 9 by using jquery 1.10.x instead of 2.x, and fixes the <script> tag by putting it inside the <body> tag.