cleaned up interactive elements and simplified js