add discussion of functions as a JS data-structure.
extend todos
copy acsac 2011 into related work, will have to update it later