If the user has JavaScript enabled, add a flag field to the form