Cleaned up the simple demo type and index.js