add examples of return from JavaScript