modify log support for jquery1.9