update to use strict mode ECMA5