added some js, UI changes