adding disable transition javascript to index page