Form validation: Fixed repeated dependency loading