An anyon wavefunction for the fractional quantum Hall effect