added functions.js

added our functions.js file from the S3 bucket to our resources repo