updated website

ported query code to plain old javascript