updated for jw.randomopener version: 1.1.1