re-activate functions.js