updating js and UX