Move scripts from index.html to bootstrap.js