Add: Guard code for python 2.6 or older.
Add: encoding to suppress warning in Firefox console
Change: specify width for tree area for Firefox