js ui improvements