Use JS to add 'Invalid entry' tags to form elements with errors'