Move polyfill/native switching to polycrypt.js.

Add more demos.
Run jQuery locally to avoid dependency on internet access.
2 bugfixes contributed by jimsch.