minor javascript syntax issues
ahah-content, cdm_dynabox, footnotes as real jQuery plugins and fixing #3272 (Footnote highlighting and ahah content are not workin in Dynabox) by listening to custom DOM event