create ajax get function in command module