Javascript files placed at the end of the document