Watch elements for changes using jQuery and polling