Add JS Namespace to functions.js to ensure no conflicts