Elgg/Elgg — pull request #256 by migrax (2012-05-31 10:18:57+00:00)
Title: Fix default javascript language

The current implementation hardcoded 'en' as the site default language when elgg.echo is called from javascript and there is no logged in user.
This patch uses the site's configure default language as the default one.