updated doc to show 'js' controller return value