moved equalize initialization to window.load event