Added support for IE8

IE8 does not fire the onload event once the script is loaded. Instead
you need to assign it to onreadystatechange as well. This follows the
jquery implementation for $.getScript().
Merge pull request #4 from zlalanne/master

Added support for IE8