move table sort script back tp index.html