moved common ECMA scripting code to libFilterChain
Authored by: benjaminbertram 2011-02-28
Parent: [r69]
Child: [r71]