add additional js check