small changes in UI and js