Update index.js

remove old functions that are now in s3-policy