_ModeProxy : bug fix from yesterdays port to dart:js