Remove duplicate JS scripts from grids.