Update index.js

remove old functions that are now in s3-policy
Merge pull request #9 from markreg/master

Update index.js