Update runall.js

add parameters to "runRC" function for compatibilty