js objects don't like vars as keys