Update Marts.js switched the position of the last two commands: contentHeight and xmlhttp.onreadystatechange