Moved Javascript includes to footer.

Also avoids including Bootstrap CSS twice.