Moved JavaScript loading to footer.