fix bug where javascript methods were being incorrectly found as keys in nameArray
Merge branch 'bug/check-against-nameArray-keys-correctly-1'