Update JS

Small changes that affect window position