Create immediate function.js