add loaded class to body on page load (bug 999189)