Added apache licence preamble to missing JS files. Removed deleted visibleTaskContentFilter declaration from index_devel.html. Refactoring.