Porting Joca's RemoveIdea to AJAX