moved example code out of alertificatr.js