Fixed jQuery syntax errors