Mi permetto di proporvi una versione che non attenda l'onload completo della pagina…:

codice:
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Grassetto alternato</title>
<script type="text/javascript">

setInterval(function () {
    var oElem = document.getElementById("testo_js");
    if (!oElem) { return; }
    oElem.style[oElem.style.getPropertyValue("font-weight") ? "removeProperty" : "setProperty"]("font-weight", "bold");
}, 1000);

</script>

</head>
<body>
<div id="testo_js">Frase evidenziata in grassetto alternato con js</div>
</body>
</html>