firefox 18 and up with onload support