removed ajax handling and goodies