added arguments to IEFE to satisfy jshint