mail page remove excess js