* use link element onload instead setTimeout to apply the media to all, it's more efficient
* removed window. prefix to reduce file size