moved js + actor init