Create addfunctions.js

temp functions file