Create range-function.js