there is a difference between declaring inside and out so not sure what it's doing http://jsperf.com/for-scope