Update refactoru-functional.js