UI updates

Re-arrange project javascript to make it more responsive, change header
logo to <span> instead of <a>, use trigger(), utf-8 encode file data,
fix dynatree layout