oh. initializing the newListDiv before trying to use it would be a good idea.