JS loading moved to page end