Cope with alternate result of Javascript test