support funtional javascript syntax v1.3.1