load js at the end of the page for faster loading