Place JS at the end of the layout to make pages load faster