Properly escape json data to stop bad things happening.

Steve,

I had a play with your samples and spotted a few areas where html meta characters (and other bad things) in SSIDs could be used to compromise the display.

Notes:

The jquery library was missing so I downloaded/added that.
I also made the library and JSON URLs relative so that the sample worked fine when accessed via a file:/// URL

Hope this is useful.

Regards

Richard