Expose SyntaxError reason with a proper error