Js return value from constructor.