objects for loop performance optimization

benchmarks - http://jsperf.com/object-keys-vs-hasownproperty/4