getting rid of the js redirect and switching about -> index