Update and rename docFunctions to docFunctions.js