Added the WWW-Authenticate header to the example.js

This solves my comment on #5