Refactored some 'use strict' statements