Probably fixed the fact that window.onload does not seem to work outside of specific chrome browsers