m0n90053 🦋
I can't advise you concerning your js syntax, but in English that would be 'to', not 'and'. If I'm niggling, fine, but it gets me not quite as much as when people say 'less' for 'fewer'.
1