Templatising controls elements and binding events to playlist clicks.