Should I be removing dynamic clickHandlers to the dynamically created html tags or is it taken care of automatically by the garbage collector.
My primary browser is Safari (embedded in iOS app), but I think i read that IE has memory leak problem around this.
var li = document.createElement('li');
This will remove the event listener
For anonymous functions, the point of them is really to have no reference and lacks a name, so for
removeEventListener() you will need a named function.