basic "check detail" js complete