Fixed javascript crash when the songbar wasn't open.