Update JS and menu