chore(docs): fix variable reference

 array passed to elgg_define_js() is expected to have a 'src' key, not a 'path' key
Merge pull request #7190 from hypeJunction/docs

chore(docs): fix variable reference