fix for old plugins using $.browser