working on web ui js