Fix collapsibleTabs code cleanup: null != undefined & undefined variables passed to .data().

Bug: 50193
Change-Id: Ia7347f7e95ee6c4421f207166b15572011b188e2
Merge "Fix collapsibleTabs code cleanup: null != undefined & undefined variables passed to .data()."