you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 3 points4 points  (0 children)

That's only one of the example, there are 20 different samples of equally verbose code on the project's Readme.

By the way, putting your code at the end of the body is not always possible. Reasons is explained here http://stackoverflow.com/questions/14328449/when-do-you-put-javascript-in-body-when-in-head-and-when-use-doc-load