Add 'use strict' statements to functions