Cannot read property 'subpage_tabs' of undefined