changed jquery.common

The each function was giving error with null references