move actuator stuff to actuate.js