reorganizing dependency scripts in index.html header