Small JavaScript assignment - repo only grows from here