Added say, ask, and greeting functions to js file.