convert Greeter into jQuery