Add JS to dynamically adjust maximized frame channel size.