Ajax header fix and small validator improvements