fixed comment document for onBeforeChange & remove jshint warning
add Spec for Tabs