A quick fix for race condition on component-tray.html

Doing it this way we will assure we don't use the "this" when
sometime the DOM is not ready... I'm not so sure if that is really
about that, but this will definitely fix that problem at least **for
now**
Merge pull request #776 from alicoding/l10nFix

A quick fix for race condition on component-tray.html