Both the *error* and *note* div's are always going to be in the DOM regardless of whether there is any data. Do you want this?