A Javascript based window manager