add vars in js