js ui fix