js-window initial addition