changes functions to variables and uses 'use strict' only once and at the top