have working removal animation >> need to clean up JavaScript code