Move JS includes from head to footer of pages