Reorganized page options structure and fixed JS style in headers_server.js