check in JS
better latex