replace Math.trunc with Math.floor in Status.html