change example to support show js and html