Revert "refactor replacement footer filter to use anonymous function"
Revert "refactor replacement footer filter to use anonymous function"

This reverts commit e30d6b84b81b251bdf1c52c656e770768913e2aa.

mlaa/commons,mlaa/commons,mlaa/commons,mlaa/commons