Moved loading of javascript Rhinoforms class and creation of rf object into working rhino scope. Flow library functions were not being found in rf.validationFunction calls.