Update package.json
Update index.js
Merge pull request #1 from SimonDegraeve/fix-for-hapi7.0

Fix for hapi 7.0