A software PID controller implementation in CoffeeScript