added by ravi on 12 dec for jquery integration