Update IntialFunctions.js