cross browser automatic widget checking
fixed not div tag but same class name bug
cater for non div but same class name
too much to type bru