WEJ-15 Clean up initial code before converting to Angular

Just changed comments and fixed a small bug where the add_track_container wasn't closing when a user added a track.