added ajax features,mailers,checkout functionality