Added sample js function to list available actions