less vars, more objects
use javascript map instead of jQuery each
back to each
map is faster than each
typo in comment