minor fixes

crossbrowser check
tabs - preventDefault add