removed old functions.js