Create functional.js