Converted Node-Webkit SlamEngine runner to PS.