Find code, javascript syntax error fix