Moved invalid JSON warning to input fields

Warnings used to be at the top of the tester;. They make more sense and
are less buggy when they are below the invalid input fields themselves.