Optimize/Cleanup

No idea what performance increase this will give, there will be one for creation though. There are also optimizations throughout that will give slight speed increases and protect against falsey compares.
Slightly faster speed due to less token parsing on the javascript engine side. Moving the variable declaration outside of the loop provides much faster speed due to address reuse. How about you provide reasoning as to why it's not necessary instead of just outright refusing it.