changing travis to fork
use addEventListener when available, to prevent problems if tested code modifies window.onload