Complete JS validation