JavaScript and UI cleanup