IE11 removed onreadystatechange

replace with onload
Merge pull request #3 from TheAntonioReyes/master

IE11 removed onreadystatechange