capitaomorte/autopair — pull request #22 by sherrman (2013-10-01 02:15:43+00:00)
Title: Workaround for out of range error by forward-sexp

Seems to address Issue #21 for me. I think js2-mode is correctly reporting some bad syntax. I think change allows autopair to handle it gracefully. Hasn't seemed to have broken anything else (while working in js2-mode).