a JS window manager