js class to hold an array of functions called when the window width is changed