[dev] Javascript shims to fix page structure client-side. To be integrated into server.