Fixes #5324: Resolves race condition for 'elgg' AMD module
Not overwriting security token on page load anymore
Merge pull request #5328 from ewinslow/js-init-race-b5324

Fixes #5324: Resolves race condition for 'elgg' AMD module