moved scripts to bottom to optimize page load time