Move JS scripts into footer for faster page loading