Added filtering for javascript calls