filter onload attributes