Cleanup UI components

Fixes and updates to foundational js/html syntax