added ajax goodies