ENYO-3240: remove unsafe code from tabbar

Tested on W7, IE10/IE9/Opera/FF/Chrome

Enyo-DCO-1.1-Signed-off-by: Olga Popova <olga.popova@hp.com>