Abstract out actor details from JS execution