Do you not find it confusing that in your lahorejanitor.connect() function your associative array begins with:
"lahorejanitor": "{clientKey}",
"lahorejanitor": "{clientSecret}", . . .
And thus the first to members of the declaration have the same name?