only collect elements after the document ready check (fixes #52)
align white space