updated indexes to use ajax between each other
removed ajax files and lines of code for indexes