move to hapi-js