Fixes #5740 using html5 autofocus and adds elgg.deprecated_notice()
formatted if clause
Merge pull request #5762 from cash/autofocus

Fixes #5740 using html5 autofocus and adds elgg.deprecated_notice()