Fix backend_name: move after read_meta and add meta tag fallback
backend_name used read_meta before it was defined. Move it after
read_meta and add fallback to <meta name="x-ocaml-backend"> for when
x-ocaml.js is loaded via a plain <script src> (Js_url) without custom
attributes.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>