Fixed the areawidget javascript to use the new ajax syntax.