Attempt of making a fully function todo using jquery