Remove unintentional global; use strict