changed to polar coordinates, added jquery