exercise 2 - added "use strict" to js