Restore tree structure on the startup correctly, with Firefox 28
Restore tree structure on the startup correctly, with Firefox 29 and later
Skip dirty hack on Firefox 29 and later
Name to function
Change line breaks