[JS] Actor model

Reviewed construction phase and adapt tests