<ul><li>Fixed CRITICAL: <code>index_app.php</code> was a full standalone HTML document (<code>&lt;!DOCTYPE html&gt;</code>, <code>&lt;html&gt;</code>, <code>&lt;head&gt;</code>, <code>&lt;body&gt;</code>) being included inside the UBOLD4 platform template — produced a nested double-document structure causing erratic script execution order (CRITICAL)</li><li>Fixed CRITICAL: <code>seo.js</code> (170KB file bundling jQuery v1.7.1 + tipsy tooltip) was loaded at bottom of page, overwriting the platform jQuery 2.1.4 after all plugins had already initialized — caused 6 JS exceptions: Bootstrap requires jQuery &gt;=1.9.1, jstree createPseudo missing, parsley too old, scrollTo propHooks undefined, bootstrap-editable Constructor undefined, custom.js popover not a function (CRITICAL)</li><li>Rewrote <code>index_app.php</code> as a proper content fragment: removed DOCTYPE/html/head/body wrapper, removed seo.js load, consolidated 3 separate <code>.ready()</code> blocks into one</li><li>Fixed MEDIUM: <code>ajax.php</code> <code>file_get_contents($url)</code> had no false-return guard — if URL was unreachable, <code>webpage2txt(false)</code> would be called silently producing empty results with no user feedback; added explicit error check and user-facing message</li></ul>