Update index.js

Examples now links to localhost:4000