Moved removeFromPending function definition to top as per ECMASCRIPT strict mode requirements
Moved removeFromPending function definition to top as per ECMASCRIPT strict mode requirements

maltezacharias/oeffimonitor,maltezacharias/oeffimonitor