Issue #2226865 by Denes.Szabo: Javascript error in vertical-tabs.js when the vertical tab built by theme functions.