Java script cheack