Corrections to avoid TypeError when using 'use strict' with Chrome