actor for javascript