fixes JS driver bug introduced by issue_546 merge