Complete labelCounter.php

add console.log test in index4.html