Update Jquery-common.js

Added check for null jquery obejct