Repair the jquery Libary syntax error detection