Update docFunctions.js