Code cleanup
Removes unused ajax handling and simplejson imports