Window Load event changed to DOMContentLoaded event