[Web] Small JS fixes for the admin page