bug_jQuery_final_fix

final fix for Jquery bug