functionality is done. time for Js2Js