JS validation chain tool