Perf: Move try-catch out of verify() function to allow V8 optimization (refs #574)