Better fallback if javascript fails.
Javascript fixes for IE8.
Merge pull request #661 from jcushman/dev-folders_aieee_compat

Improve browser compatibility for folders.