Add btn class to the buttons and make the event to hide the message in a fancy way.
Add the cookiedirective to the demo page
Link it from index.html