Fixed randSelect in funcs.js, really