Update and rename functionsleep.js to function.js