moving javascript to top of examples
Content display tweaks