adding individual transition js to index.html