editted close js in hopes it starts working