UI and basic API calls with JS