Added JS check.