little JS code cleaning
UI code cleaning