rearranging script orders in index.html