adding js reset