Fixes #2352 by aborting when execjs can't be used.