add trim reveal.js sample code