maximized help window code destroying chrome js