updated index, added jquery/reset