Update functions.js v1.0.0