moved js to bottom of page for faster loading
cleaning up formatting