Create Functional JS.js