Fix execjs error assertion