Moved JavaScript to footer for faster page load