order: remove js undefined warning