Adding functions.js exmaple