checking of js