Report js syntax errors