Removed some unneeded notes and added example of when JS is run before DOM is ready