Move compat check outside into index.html. Page should decide whether to
proceed.