updating the function names to prevent errors when loading server js