adding js ui