Moved actor to actor.js