Removing unused variables

forEach and setDefaults aren't used and are already automatically removed from the minified version, but removing them to clean up source.